package cn.lingyangwl.agile.system.model.rqrs.user;

import cn.lingyangwl.framework.core.model.*;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * 角色中的用户查询
 * @author shenguangyang
 */
@Getter
@Setter
@ToString
public class RoleUserQueryReq extends BasePageReq {
    @NotNull(message = "请选择角色")
    private Long roleId;
    private String userName;
    private Integer pageNum;
    private Integer pageSize;

    public RoleUserQueryReq() {
        this.pageNum = 1;
        this.pageSize = 10;
    }
}
